
class Statedto {
  int code;
  String msg;
  bool data;

  static Statedto fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    Statedto statedtoBean = Statedto();
    statedtoBean.code = map['code'];
    statedtoBean.msg = map['msg'];
    statedtoBean.data = map['data'];
    return statedtoBean;
  }

  Map toJson() => {
    "code": code,
    "msg": msg,
    "data": data,
  };
}